// packageE/groupCode/comm/codeList/codeList.js
const skinBehavior = require('../../../../utils/themeSkin/skinBehavior');
Component({
  /**
   * 组件的属性列表
   */
  behaviors: [skinBehavior],
  options: {  //小程序获取外部样式
    addGlobalClass: true,
  },
  properties: {
    list:{
      type:Array,
      value:[]
    },
    shopLog:String
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    toDetails(event) {
      let id = event.currentTarget.dataset.id;
      wx.navigateTo({
        url: `/packageE/groupCode/groupCodeLabel/groupCodeLabel?id=${id}`,
      });
    }
  }
})
